{template "header.html"}
{php extract(dr_get_form_post_value('lxwm'))}
<div class="bread-crumb">
    <ul>
        <li><a href="/">{usu_fanyi('Home', $language)}</a></li><li>></li>
        <li><span>{usu_fanyi($cat['name'], $language)}</span></li>
    </ul>
</div>
<div class="main1">
    <div class="sidebar">
        <div class="sidebar-block-but"><span>{usu_fanyi("more products", $language)}</span>
            <button type="button" onclick="product()"><i class="iconfont"></i></button>
        </div>
        <div class="sidebar-c">
            <div class="sidebar-box" id="product">
                <div class="sidebar-title">
                    <span>{usu_fanyi("Products", $language)}</span>
                </div>
                <div class="sidebar-product">
                    {category module=share pid=1}
                    {if $t.child}
                    <dl>
                        <dt>
                            <a href="{$t.url}" title="{usu_fanyi($t.name, $language)}">
                                <i class="iconfont">&#xe60e;</i>
                                {usu_fanyi($t.name, $language)} </a>
                        </dt>
                        {category module=share pid=$t.id}
                        <dd><a href="{$t.url}" title="Solar Street Light">{usu_fanyi($t.name, $language)}</a></dd>
                        {/category}
                    </dl>
                    {else}
                    <dl>
                        <dt>
                            <a href="{$t.url}" title="{usu_fanyi($t.name, $language)}">
                                <i class="iconfont">&#xe60e;</i>
                                {usu_fanyi($t.name, $language)} </a>
                        </dt>
                    </dl>
                    {/if}
                    {/category}

                </div>
            </div>

            <div class="hot_p">
                <div class="sidebar-title">
                    <span>{usu_fanyi("Hot Products", $language)}</span>
                </div>
                <ul>
                    {module module=news flag=1 num=6}
                    <li>
                        <div class="item">
                            <a href="{$t['url']}"><img
                                    src="{dr_get_file($t['thumb'])}"
                                    alt="{usu_fanyi($t['title'], $language)}"></a>
                            <div class="th"><a href="{$t['url']}">{usu_fanyi($t['title'], $language)}</a></div>
                        </div>
                    </li>
                    {/module}
                </ul>
            </div>

            <div class="contact-list">
                <div class="sidebar-title">
                    <span>{usu_fanyi("Contact Details", $language)}</span>
                </div>
                <table cellpadding="0" cellspacing="0">
                    <tbody>
                    <tr>
                        <th><i class="iconfont">&#xe6ac;</i>{usu_fanyi("Phone", $language)} :</th>
                        <td><a href="tel:{$dianhua}">{$dianhua}</a></td>
                    </tr>
                    <tr>
                        <th><i class="iconfont">&#xe61d;</i>{usu_fanyi("Email", $language)} :</th>
                        <td><a href="mailto:{$youxiang}">{$youxiang}</a></td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div class="center">
        <div class="center_p">
            <ul>
                {search module=MOD_DIR id=$searchid total=$sototal order=$params.order catid=$catid page=1 pagesize=9 urlrule=$urlrule}
                <li>
                    <a href="{$t['url']}"><img
                            src="{dr_get_file($t['thumb'])}"
                            alt="{usu_fanyi($t['title'], $language)}"></a>
                    <a href="{$t['url']}"><h3>{usu_fanyi($t['title'], $language)}</h3></a>
                </li>
                {/search}
            </ul>
        </div>
        <!--分页-->
        <div class="pages">
            {$pages}
        </div>
        <style>
            .pages .active{
                border: 0px ;
                background:#107f8a;
                color: white;
            }
            .pages .active a{
                color: #ffffff;
            }
            .pages .active span{
                padding: 10px 15px;
            }
            .pages .disabled span{
                padding: 10px 15px;
            }
            .pages .disabled{
                margin: 0 5px;
                /*line-height: 40px;*/
                background: #107f8a;
                color: white;
            }
            .pages {
                margin: 40px 0 ;
            }
            .pagination {
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .pagination li {
                border: 1px solid #ccc;
                margin: 0 5px;
                line-height: 30px;
                font-size: 14px;
            }
            .pagination li a{
                padding: 10px 15px;
                line-height: 15px;
            }

        </style>
        <style>
            .error {
                color: red;
            }

            .msg_bl label {
                margin-top: 0;
            }

            .msg_bl form .t_submit.submitting {
                width: 145px;
                padding-left: 50px;
                background-repeat: no-repeat;
                background-position: 10px center;
                background-color: #fff;
                color: #999;
                border: 1px solid #ccc;
                cursor: not-allowed !important;
            }

            .msg_bl form .t_submit.submitting:active {
                background-color: #fff;
                color: #999;
                border: 1px solid #ccc;
            }
        </style>
        <div style="margin-bottom: 50px;width: 1px;height: 1px" id="inquiry_area"></div>
        <div class="msg_bl">
            <div class="prompt">
                <span>{usu_fanyi("Get the latest price? We'll respond as soon as possible", $language)}</span>
            </div>
            <form action="" class="form_che" method="post" name="myform" id="myform">
                <table cellpadding="0" cellspacing="0">
                    <tbody>
                    <tr>
                        <td id="msg_bl_dx2">
                            <input type="text"  name="data[subject]" placeholder="Subject">
                            <input type="text"  name="data[email]" placeholder="* Your contact email">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label ></label>
                            <input type="text"  name="data[name]" placeholder="Your contact name">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="text"  name="data[phone]" placeholder="* Your contact phone">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label for="message"></label>
                            <textarea style="min-height:150px;margin-top: 5px;" title="" class="vderror" id="message"
                                      name="data[message]" placeholder="* What do you wish to enquire about?"
                            ></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: center;vertical-align:middle;" colspan="2">
                            <input style="text-align: center;" value="Submit" class="t_submit" onclick="dr_ajax_submit('{$post_url}', 'myform', '2000', '{$rt_url}')">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>

        </div>
    </div>

    <script type="text/javascript">
        $(function () {
            initSidebarClicker('span', '+', '-')
        })

        function product(){

            if(  document.getElementById('product').style.display == 'none' ){

                document.getElementById('product').style.display = 'block'
            }else{
                document.getElementById('product').style.display = 'none'
            }
        }

    </script>
</div>



{template "footer.html"}